from django.contrib import admin
from django.urls import path, re_path

from .views import UserList, UserDetails, GroupList, UserInfoView

urlpatterns = [
    # app
    # path('api/login', dg_views.LoginView.as_view(), name='login'),
    # path('api/logout', dg_views.LogoutView.as_view(), name='logout'),
    path('users/', UserList.as_view()),
    path('users/<pk>/', UserDetails.as_view()),
    path('groups/', GroupList.as_view()),

    path('api/getUserInfo', UserInfoView.as_view()),
]
